package com.qianli.cashmama.trade.integration.audit;

import com.qianli.cashmama.trade.integration.audit.dto.AuditOrderInfoResponseDto;
import com.qianli.cashmama.trade.integration.audit.dto.TradeAuditDto;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/23
 * Time: 下午9:19
 */
public interface AuditIntegrationService {

    boolean pushTradeToAudit(TradeAuditDto tradeAuditDto);

    /**
     * 打款成功后 通知信审（二次信审）
     *
     * @param tradeAuditDto
     * @return
     */
    boolean pushTradePayCallbackToAudit(TradeAuditDto tradeAuditDto);

    /**
     * highmark处理成功通知信审
     *
     * @param tradeNo
     * @return
     */
    boolean pushHighmarkToAudit(String tradeNo);

    AuditOrderInfoResponseDto queryAuditOrderInfo(String tradeNo);

    String getPinCode(String city, String pinCode);
}
